<template>
	<view>子组件 {{ count }}</view>
</template>

<script setup>
	import {
		ref
	} from "vue";
	const count = ref(110);
	const addCount = function() {
		count.value++;
		uni.hideToast();
		uni.hideLoading();
	};
	defineExpose({
		count,
		addCount,
	});
</script>

<style lang="scss" scoped></style>